Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
Shader "Custom/BurningPaper"
{
Properties {
_MainTex ("Main texture", 2D) = "white" {}
_DissolveTex ("Dissolution texture", 2D) = "gray" {}
_Threshold ("Threshold", Range(0, 1.1)) = 0
}
@Diyagi
Diyagi / linuxvotvmodding.md
Last active October 16, 2026 01:33
Linux VotV + R2Modman Setup Guide

🐧 Linux VotV + R2Modman Setup Guide

Note: This guide assumes you're running Linux with Steam and want to play Voices of the Void with mods via R2Modman.


Step 1 — Install R2Modman

Download and install R2Modman if you haven't already. Of course.

@denilsonsa
denilsonsa / List of alternative launchers for Android TV.md
Last active October 16, 2026 01:31
List of alternative launchers for Android TV

This was originally shared on reddit, but for some reason I cannot update it anymore. I've now mirrored it as this GitHub Gist.

List of alternative launchers for Android TV

For whatever reason, it's really difficult to discover alternative launchers for Android TV. Sure, you can find a couple of them, but there are so many terrible results that you will end up wasting quite some time.

Thus, I've compiled this list of alternative Android TV launchers. It's not comprehensive (I'm certain I missed some, please suggest them in comments); I'm not endorsing any particular one; and I have not tried all of them. Some are free, some are paid. Some contain ads. Some contain IAP (in-app purchases). Some require too many intrusive permissions.


@zr-tex8r
zr-tex8r / texadvent.md
Last active October 16, 2026 01:29
TeX & LaTeX Advent Calendar 実績

TeX & LaTeX Advent Calendar

「とっておきの TeX/LaTeX ネタを皆で持ち寄って楽しむ」 というコンセプトの技術系アドベントカレンダーです。

2012 年から始まっており、以降毎年開催されています。

最新のやつ

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active October 16, 2026 01:29
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

# this file contains keys needed for decryption of file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
541b9889519b27d363cd21604b97c67a # example key (can be deleted)
d7b00402659ba2abd2cb0db27fa2b656 # Common
805e6285cd487de0faffaa65a6985e17 # Espresso Ancast
b5d8ab06ed7f6cfc529f2ce1b4ea32fd # Starbuck Ancast
9a164ee15ac7ceb64d3cc130094095f6 # 007 Legends [EUR, NUS]
@7etsuo
7etsuo / deflate.c
Created January 9, 2026 15:12
deflate.c
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_BITS 15
#define MAX_LIT_CODES 288 /* Literal/length alphabet */
#define MAX_DIST_CODES 32 /* Distance alphabet */
/* Length codes: symbol 257-285 map to lengths 3-258 */
@ogzhanolguncu
ogzhanolguncu / SKILL.md
Created October 4, 2026 18:54
socratic-code-mentor: a Claude Code skill for learning by building. You write the core, the LLM mentors and does the grunt work. Install: save as ~/.claude/skills/socratic-code-mentor/SKILL.md
name socratic-code-mentor
description Mentor a user who builds a project to learn how it works. They write the core; you do all other work and keep it fun. Use when the user says "teach me", "guide me", "mentor me", "hints only", "no spoilers", "Socratic", or "help me learn X by building it", or when a project file says the project is for learning. Do not use for normal feature work. Do not use when the first request is "just fix it" or "write it for me".